package com.zxbg.domain;

import java.util.Date;
import java.util.List;
import java.util.Map;

public class Role {
    private String code;
    private String name;
    private Date create_time;
    private String creator_id;
    private Employee creator;
    private String describe;
    private Integer number_ceil;
    private String authority_id;
    private Map<String, List<String>> authority;
    private Integer status;
    private String partner_id;
    private List<Employee> partner;
    private Integer tenant_id;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getCreator_id() {
        return creator_id;
    }

    public void setCreator_id(String creator_id) {
        this.creator_id = creator_id;
    }

    public Employee getCreator() {
        return creator;
    }

    public void setCreator(Employee creator) {
        this.creator = creator;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Integer getNumber_ceil() {
        return number_ceil;
    }

    public void setNumber_ceil(Integer number_ceil) {
        this.number_ceil = number_ceil;
    }

    public String getAuthority_id() {
        return authority_id;
    }

    public void setAuthority_id(String authority_id) {
        this.authority_id = authority_id;
    }

    public Map<String, List<String>> getAuthority() {
        return authority;
    }

    public void setAuthority(Map<String, List<String>> authority) {
        this.authority = authority;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPartner_id() {
        return partner_id;
    }

    public void setPartner_id(String partner_id) {
        this.partner_id = partner_id;
    }

    public List<Employee> getPartner() {
        return partner;
    }

    public void setPartner(List<Employee> partner) {
        this.partner = partner;
    }

    public Integer getTenant_id() {
        return tenant_id;
    }

    public void setTenant_id(Integer tenant_id) {
        this.tenant_id = tenant_id;
    }

    @Override
    public String toString() {
        return "Role{" +
                "code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", create_time=" + create_time +
                ", creator_id='" + creator_id + '\'' +
                ", creator=" + creator +
                ", describe='" + describe + '\'' +
                ", number_ceil=" + number_ceil +
                ", authority_id='" + authority_id + '\'' +
                ", authority=" + authority +
                ", status=" + status +
                ", partner_id='" + partner_id + '\'' +
                ", partner=" + partner +
                ", tenant_id=" + tenant_id +
                '}';
    }
}